    <?php $i = 1; ?>
    <?php foreach($post->getImages() as $image): ?>
      <?php include_partial('image/form', array('image' => $image, 'languages' => $languages, 'number' => $i)); ?>
      <?php $i++; ?>
    <?php endforeach; ?>
    <div id="image_<?php echo $i; ?>">
        <?php echo link_to_remote(__('Add Image'), array(
        'update' => 'image_'.$i,
        'url'    => 'image/create?number='.$i,
        'script' => true,
        )) ?>
        
    </div>

